From a364494e34cab53800fb31b506881c1e85229b0f Mon Sep 17 00:00:00 2001 From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 13:17:37 +0200 Subject: [PATCH] u-ignore-ppc-hangs Bug: https://github.com/rust-lang/rust/issues/89607 Gbp-Pq: Topic upstream Gbp-Pq: Name u-ignore-ppc-hangs.patch --- library/alloctests/tests/arc.rs | 1 + library/alloctests/tests/rc.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/library/alloctests/tests/arc.rs b/library/alloctests/tests/arc.rs index 00bdf52713..65fc1b8d3e 100644 --- a/library/alloctests/tests/arc.rs +++ b/library/alloctests/tests/arc.rs @@ -94,6 +94,7 @@ const SHARED_ITER_MAX: u16 = 100; fn assert_trusted_len(_: &I) {} +#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))] #[test] fn shared_from_iter_normal() { // Exercise the base implementation for non-`TrustedLen` iterators. diff --git a/library/alloctests/tests/rc.rs b/library/alloctests/tests/rc.rs index bb68eb4ac9..90bf2b9595 100644 --- a/library/alloctests/tests/rc.rs +++ b/library/alloctests/tests/rc.rs @@ -91,6 +91,7 @@ const SHARED_ITER_MAX: u16 = 100; fn assert_trusted_len(_: &I) {} +#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))] #[test] fn shared_from_iter_normal() { // Exercise the base implementation for non-`TrustedLen` iterators. -- 2.30.2